package com.mrd.gtimp.service.dto;

import java.io.Serializable;

/**
 * <p>
 * application name: sample
 * <p>
 * copyright: Copyright@2012 明睿达科技有限公司
 */
/**
 * 分页对象，如果不设置分页大小则默认为15，如果不设置当前页码则默认为1
 * @author qiul
 */
public class Page implements Serializable {

	private static final long	serialVersionUID	= 5246003672063853875L;
	/**
	 * 当前页码，默认为第一页
	 */
	private int	              currentPage	     = 1;
	/**
	 * 总记录数
	 */
	private int	              totle;
	/**
	 * 分页大小，默认为15
	 */
	private int	              pageSize	         = 15;
	/**
	 * 总页数
	 */
	private int	              totlePage;

	public Page() {
		super();
	}

	public Page(int currentPage, int totle, int pageSize, int totlePage) {
		super();
		this.currentPage = currentPage;
		this.totle = totle;
		this.pageSize = pageSize;
		this.totlePage = totlePage;
	}

	public int getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

	public int getTotle() {
		return totle;
	}

	public void setTotle(int totle) {
		this.totle = totle;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getTotlePage() {
		return totlePage;
	}

	public void setTotlePage(int totlePage) {
		this.totlePage = totlePage;
	}

}
